# from . import main
from flask import render_template


import traceback
from flask import request
# from utils.stock_func import build_stockprice_dict_dayk, build_finical
# from . import main
from srf_log import logger
# from wechat_func.token_verify import check
import hashlib
from flask import make_response
import xml.etree.ElementTree as ET
import time
# from wechat_func.wechat_media import check_get_media, img_upload
from config import data_file
from flask import Flask, request, abort, render_template, redirect
# from wechat_func.check_name_code import check_stock_to_code


@main.route('/aaa', methods=['GET'])
def check_token():
    par = request.args.to_dict()
    try:
        data = check(**par)
        return {'data': 'aaa'}
    except Exception:
        logger.error('except in check_token:%s' % traceback)


@main.route('/wx', methods=['GET'])
def check_token():
    par = request.args.to_dict()
    try:
        data = check(**par)
        return data
    except Exception:
        logger.error('except in check_token:%s' % traceback)




if __name__ == '__main__':
    import os,sys
    import config
    import global_var
    pass





















